package csw.model;

public class StudentVO {
	// 멤버변수 선언
	private String hakbun;// 학번
	private String name;// 이름
	private String address;// 주소
	private int age;// 나이
	private String birth;// 생년월일
	private String depart;// 학과명
	private String professor;// 지도교수
	private String interview; // 면담시간

	// 생성자
	public StudentVO(String hakbun, String name, String address, int age,
			String birth, String depart, String professor, String interview) {
		this.hakbun = hakbun;
		this.name = name;
		this.address = address;
		this.age = age;
		this.birth = birth;
		this.depart = depart;
		this.professor = professor;
		this.interview = interview;
	}

	// public void setXxx(String xxx){
	// this.xxx=xxx;
	// }

	public void setHakbun(String hakbun) {
		this.hakbun = hakbun;

	}

	public void setName(String name) {

		this.name = name;
	}

	public void setAdress(String address) {

		this.address = address;
	}

	public void setAge(int age) {

		this.age = age;
	}

	public void setBirth(String birth) {

		this.birth = birth;
	}

	public void setDepart(String depart) {

		this.depart = depart;
	}

	public void setProfessor(String professor) {

		this.professor = professor;
	}

	public void setInterview(String interview) {

		this.interview = interview;
	}

	// getter
	// private
	// public void setXXX(String XXX){
	// this.XXX=XXX;
	// }

	public String getHakbun() {
		return hakbun;
	}

	public String getName() {
		return name;
	}

	public String getAddress() {
		return address;
	}

	public int getAge() {
		return age;
	}

	public String getBirth() {
		return birth;
	}

	public String getDepart() {
		return depart;
	}

	public String getProfessor() {
		return professor;
	}

	public String getInterview() {
		return interview;
	}

	@Override
	public String toString() {
		String result = "";
		result += hakbun + "/" + name + "/" + age + "/" + address + "/" + birth;
		return result;
	}
}
